package com.example.blogdesign.Service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.blogdesign.Entity.Follow;
import com.example.blogdesign.dto.Result;
import com.example.blogdesign.dto.UserDTO;

import java.util.List;

public interface IFollowService extends IService<Follow> {

    Result<?> followOrNot(Long followUserId, Boolean isFollow);

    Result<Boolean> isFollow(Long followUserId);

    Result<List<UserDTO>> commonFollow(Long id);
}
